import request from '@/utils/request';

// 成品入库计划列表
export function listProductStock(query) {
    return request({
        url: '/system/productStock/getToBeConfirmedList',
        method: 'get',
        params: query
    })
}

// 查询详细信息
export function detailProductStock(id) {
    return request({
        url: '/system/productStock/getInfo?id=' + id,
        method: 'get'
    })
}

// 一键入库
export function confirmProductStock(data) {
    return request({
        url: '/system/productStock/confirm',
        method: 'get',
        params: data
    })
}
